package com.ehome.poct.core.api.dto.check;

import com.ehome.poct.core.api.dto.common.InitiateTypeEnum;
import com.ehome.poct.core.api.dto.order.OrderNo;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 联机检测记录
 * @author gyl
 * @since 2022/3/5 14:13
 **/
@Getter
public class CheckOnlineRecord {
    @Setter
    private Long id;
    private final long clinicId;
    private final long patientId;
    private final String patientName;
    private final OrderNo orderNo;
    private final InitiateTypeEnum initiateType;
    private final DeviceCheckProcess bloodProcess;
    private final DeviceCheckProcess poctProcess;
    @Setter
    private LocalDateTime createTime;

    public CheckOnlineRecord(long clinicId, long patientId, String patientName, InitiateTypeEnum initiateType, DeviceCheckProcess bloodProcess, DeviceCheckProcess poctProcess, OrderNo orderNo) {
        this.clinicId = clinicId;
        this.patientId = patientId;
        this.patientName = patientName;
        this.initiateType = initiateType;
        this.bloodProcess = bloodProcess;
        this.poctProcess = poctProcess;
        this.orderNo = orderNo;
    }
}
